/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controle;

import java.util.ArrayList;
import javax.faces.bean.ViewScoped;
import entidades.Backup;
import javax.faces.bean.ManagedBean;

/**
 *
 * @author gleydson
 */
@ManagedBean(name="BackupBean")
@ViewScoped
public class BackupBean {
    private ArrayList<Backup> backs;
    private Backup back;
    

    /** Creates a new instance of BackupBean */
    public BackupBean() {
        backs = new ArrayList<Backup>();
        back = new Backup();
    }

    /**
     * @return the backs
     */
    public ArrayList<Backup> getBacks() {
        return backs;
    }

    /**
     * @param backs the backs to set
     */
    public void setBacks(ArrayList<Backup> backs) {
        this.backs = backs;
    }

    /**
     * @return the back
     */
    public Backup getBack() {
        return back;
    }

    /**
     * @param back the back to set
     */
    public void setBack(Backup back) {
        this.back = back;
    }
}
